# trend object example

The following example shows the trend object:

`<activeX name="TrendObject1" height="141" width="623" left="7" top="329" visible="true" classId="{EC66E436-280E-11D4-AB9C-00C04F9915E3}" keyNavigation="true" focusHighlight="true">`

`<data progId="HMI.TrendObjectME.1" fileName="METXView.ocx" fileVersion="4.0.1.0" typeLibrary="{EC66E430-280E-11D4-AB9C-00C04F9915E3}" typeLibVersion="4.0" data="AAAEAIMzAACpCwAAAAAAAAwAAAD//v8AAgAAAAEAAAAAAAAAyAAAAAAAAAAAA1LjC5GPzhGd 4wCqAEu4UQEAAAKQAXCOAQAKQmF1aGF1cyA5MwAAAAAAAAAAAQAAAAAAAAD//v8A//7/AACY OgAAAAAgQQD/2AABAAAAAQAAAOcHAAAIAP//AQANAENWaWV3TGluZUluZm8DAAAAAQAAAAAA AAAAAMhC//7/AP/+/wAAAAAAAQAAAAMAAAABAAAA//7/FFIAUwBWAGkAZQB3ADMAMgAuAEEA cABwAGwAaQBjAGEAdABpAG8AbgD//v8A//7/Am4ANwD//v8FUABlAG4AIAAxACABAAAA//7/ AP/+/wABgAMAAAABAAAAAAAAAAAAyEL//v8A//7/AAAAAAABAAAAAwAAAAEAAAD//v8UUgBT AFYAaQBlAHcAMwAyAC4AQQBwAHAAbABpAGMAYQB0AGkAbwBuAP/+/wD//v8FVABhAGcAUwAy AP/+/wVQAGUAbgAgADIAIAEAAAD//v8A//7/AAGAAwAAAAEAAAAAAAAAAADIQv/+/wD//v8A AAAAAAAAAAADAAAAAQAAAP/+/xRSAFMAVgBpAGUAdwAzADIALgBBAHAAcABsAGkAYwBhAHQA aQBvAG4A//7/AP/+/wZUAGUAcwB0AFMAMgD//v8FUABlAG4AIAAzACABAAAA//7/AP/+/wAB gAMAAAABAAAAAAAAAAAAyEL//v8A//7/AAAAAAAAAAAAAwAAAAEAAAD//v8UUgBTAFYAaQBl AHcAMwAyAC4AQQBwAHAAbABpAGMAYQB0AGkAbwBuAP/+/wD//v8IVABlAHMAdABUAGEAZwA0 AP/+/wVQAGUA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AAAAAAAAAAAAAAAACAABAAAAAQAAAAEAAAABAAAAAQAAAAEA AAABAAAAAQAAAAgAAQAAAAIAAAADAAAABAAAAAEAAAACAAAAAwAAAAAAAAD/////AAAAACwA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgICAAICAgAD/7//+ /7///9DptEABAAAArAMAAEjqtEABAAAArAMAAP/+/wABAAAAAQAAAAgAAQAAAAIAAAADAAAA BAAAAAUAAAABAAAAAgAAAAMAAAABAAAAAAAAAOgDAAACAAAAAQAAAFwAAADv////AAAAAAAA AAAAAAAAkAEAAAEAAAAAAAAAAwACAAEAUgD//v8KQgBhAHUAaABhAHUAcwAgADkAMwAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAQAAAAEAAAADAAAAAQAAAP/+/xRSAFMAVgBpAGUAdwAzADIALgBBAHAAcABsAGkA YwBhAHQAaQBvAG4A//7/AP/+/wD//v8IVABlAHMAdABUAGEAZwA1ACABAAAA//7/AP/+/wAD AAAAAQAAAP/+/xRSAFMAVgBpAGUAdwAzADIALgBBAHAAcABsAGkAYwBhAHQAaQBvAG4A//7/ AP/+/wD//v8IVABlAHMAdABUAGEAZwAzACABAAAA//7/AP/+/wABAAAAAAAAAP///wAAAAAA AAAAAAAAAAABAAAACAAAAAAAAABYAFgAAAARAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAA DAAAAA0AAAAOAAAADwAAABAAAAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAAAAAC" />`

`<animations>`

`<animateVisibility expression="If TagS2 < 10 Then 0 Else 1" expressionTrueState="visible" />`

`</animations>`

`<connections>`

`<connection name="Pen 1" expression="n7" />`

`<connection name="Pen 2" expression="TagS2" />`

`<connection name="Pen 3" expression="TestS2" />`

`<connection name="Pen 4" expression="TestTag4" />`

`<connection name="Pen 5" expression="If TestTag7 >10 Then 0 Else 1" />`

`<connection name="Pen 6" expression="TestTag6" />`

`<connection name="Pen 7" expression="TestTag7" />`

`<connection name="Pen 8" expression="TestTag8" />`

`<connection name="Minimum" expression="TestTag5" />`

`<connection name="Maximum" expression="TestTag3" />`

`</connections>`

`</activeX>`

## See also

Trend objects: trend object

trend object attributes and elements